Apps
Create and manage applications within your sites to build custom functionality.
Overview
Apps are the core building blocks of your Taruvi site. Each app contains functions, policies, roles, storage, and database tables. Apps provide a logical grouping for related features and allow you to organize your backend services.
Concepts
App
An application within a site that contains business logic, data models, and API endpoints. Apps provide isolated namespaces for functions, policies, and storage.
App Type
Apps can be classified as "custom" (user-created) or "builtin" (system-provided). Most apps you create will be custom apps.
App Slug
A URL-friendly identifier for your app, automatically generated from the app name. Used in API endpoints and navigation.
Create an App
Create a new app to start building your application functionality.
- Navigate to your Site in the Dashboard.
- Click the Apps tab.
- Click Create New App.
- Fill in the app details:
- App Name: A descriptive name for your app (required)
- Description: Optional description of the app's purpose
- Click Create App.
Choose a clear, descriptive name that reflects your app's purpose. The name will be used to generate API endpoints and URLs.
View Apps
- Navigate to your Site in the Dashboard.
- Click the Apps tab.
- The apps list displays:
- App Name: The display name
- URL: The app's endpoint URL (if configured)
- Created Date: When the app was created
Search Apps
Use the search bar to filter apps by name:
- Enter your search term in the Search apps by name... field.
- Results update automatically as you type.
Pagination
Navigate through large lists of apps using:
- Page navigation: Click page numbers at the bottom
- Page size: Change the number of items per page
Open an App
- Navigate to your Site in the Dashboard.
- Click the Apps tab.
- Click the Open button on the app card.
- You'll be taken to the app dashboard with access to:
- Functions
- Events
- Policies
- Roles
- Storage
- Database Editor
- Analytics
- Settings
Edit an App
- Navigate to your Site in the Dashboard.
- Click the Apps tab.
- Click the Edit (pencil) icon on the app card.
- Update the app details:
- App Name: Change the display name
- Description: Update the description
- App URL: Set the public URL where your app is accessible
- Editor URL: Set the URL for the app editor/admin interface
- Click Save Changes.
Import an App
Import existing app configurations from a file.
- Navigate to your Site in the Dashboard.
- Click the Apps tab.
- Click the Import button in the header.
- Select your app configuration file.
- Follow the import wizard to complete the process.
Import functionality allows you to quickly set up apps from templates or migrate apps between environments.
Delete an App
Deleting an app permanently removes all associated data including functions, policies, roles, storage buckets, and database tables. This action cannot be undone.
- Navigate to the App in the Dashboard.
- Click the Settings tab.
- Find the Danger Zone section.
- Click Delete App.
- Type the app name to confirm.
- Click Delete App Permanently.
App Dashboard
Once you open an app, you have access to the following features:
| Feature | Description |
|---|---|
| Functions | Create and manage serverless functions |
| Events | Configure event subscriptions for functions |
| Policies | Define authorization rules and access control |
| Roles | Manage app-level user roles |
| Storage | Manage file storage buckets and objects |
| Database | Create and manage data tables |
| Analytics | Build and run custom queries |
| Settings | Configure app settings |
Configuration
App Fields
| Field | Description | Required |
|---|---|---|
| Name | Display name for the app | Yes |
| Description | Purpose of the app | No |
| URL | Public URL for the app | No |
| Editor URL | Admin interface URL | No |
Limits
| Resource | Limit |
|---|---|
| Apps per site | Varies by plan |
| Functions per app | 100 |
| Storage buckets per app | 20 |
| Database tables per app | 50 |
Need higher limits? Contact support to discuss your requirements.
Troubleshooting
App not appearing in list
Problem: A newly created app doesn't appear in the apps list.
Solution:
- Refresh the page to reload the apps list.
- Check that you're viewing the correct site.
- Use the search to find the app by name.
Cannot delete app
Problem: The delete button is disabled or deletion fails.
Solution:
- Ensure you have the correct permissions.
- Check that no other processes are using the app.
- Try again after a few moments.
Import fails
Problem: App import fails with an error.
Solution:
- Verify the import file format is correct.
- Check that the file isn't corrupted.
- Ensure you have sufficient permissions.
- Review the error message for specific issues.
Related
Last Updated: January 2025